home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Spool File Problem under NT
- Date: Wed, 10 Jan 96 17:53:26 GMT
- Organization: none
- Message-ID: <821296406snz@genesis.demon.co.uk>
- References: <4d0qv4$mhl@xenon.xe.com>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4d0qv4$mhl@xenon.xe.com> m@labelview.com "Marty_e34_535i" writes:
-
- >Gentlemen,
- >
- >My 16-bit application fails when running under Windows NT
- >in two places, both of which involve trying to send a file
- >to a COM port.
- >
- >1. SpoolFile() returns 0, instead of a handle. This return
- > code is not documented. SpoolFile() works fine under
- > Windows 3.11, and under Windows 95, I had to swap the
- > first two parameters to get it to work. I've tried
- > swapping and unswapping and neither work.
-
- SpoolFile() is not defined by the C language so as far as comp.lang.c
- is concerned it can do anything it likes. Try a Windoes/NT related nwsgroup.
-
- >2. OpenComm() returns IE_MEMORY (-4), which means "the
- > function cannot allocate the queue".
-
- Similarly.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-